﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;

namespace ShenLanCMS.Models
{
    public  class EntityContext:DbContext
    {
        public DbSet<Ad> Ads { get; set; }
        public DbSet<AdType> AdTypes { get; set; }
        public DbSet<Comment> Comments { get; set; }
        public DbSet<Link> Links { get; set; }
        public DbSet<Msgboard> Msgboards { get; set; }
        public DbSet<Post> Posts { get; set; }
        public DbSet<PostType> PostTypes { get; set; }
        public DbSet<Search> Searches { get; set; }
        public DbSet<Siteinfo> Siteinfoes { get; set; }
        public DbSet<Tag> Tags { get; set; }
        public DbSet<TagIndex> TagIndexes { get; set; }
        public DbSet<TempContent> TempContents { get; set; }
        public DbSet<TempPub> TempPubs { get; set; }
        public DbSet<TempVar> TempVars { get; set; }
        public DbSet<User> Users { get; set; }
        public DbSet<UserInfo> UserInfoes { get; set; }
    }
}
